package com.TeacherInfoServer.pojo.DTO;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "教研室DTO类")
public class DepartmentDTO {
    @ExcelIgnore
    private Long id;

    @ExcelProperty(value = "专业教研室名称",index = 0)
    @ColumnWidth(20)
    private String name;
    @ExcelProperty(value = "现任专业负责人",index = 1)
    @ColumnWidth(20)
    private String leaderName;

    @ExcelProperty(value = "现任专业教研室主任",index = 2)
    @ColumnWidth(20)
    private String directorName;

}
